
// 编译
def compile(envConfigHost, packageImageTag) {
    sh "make build-package-image package-image=${packageImageTag}"
    sh "make package \
        env_config_host=${envConfigHost} \
        package-image=${packageImageTag}"
}

// 打包 Nginx 发布镜像
def packageReleaseImage(releaseImageTag) {
    sh "make build-release-image release-image=${releaseImageTag}"
}

return this